package com.xca.znb.presenter;

import com.xca.znb.entity.News;
import com.xca.znb.model.imodel.ISchoolFragment;

import java.util.List;

public class SchoolFragmentPresenter {
    private ISchoolFragment iSchoolFragment ;
    public SchoolFragmentPresenter(ISchoolFragment iSchoolFragment){
        this.iSchoolFragment = iSchoolFragment ;
    }

    public List<News> getNewsByType(String type){
        return iSchoolFragment.getNewsByType(type);
    }
}
